package com.wangyadong.hobby.test;

import org.springframework.core.type.AnnotationMetadata;
import org.springframework.core.type.StandardAnnotationMetadata;

import java.lang.annotation.Annotation;

public class BinaryTreeDemo1 {


    private TreeNode root;


    private static class TreeNode {
        public Integer element;
        public TreeNode left;
        public TreeNode right;

        public TreeNode(Integer num, TreeNode left, TreeNode right) {
            this.element = num;
            this.left = left;
            this.right = right;
        }
    }


    //    public boolean constants(Integer num){
//        return constants(num,root);
//    }
//
//    private boolean constants(Integer num, TreeNode root) {
//        if(root==null){
//        return false;
//    }
    public static void main(String[] args) {
        AnnotationMetadata metadata = new StandardAnnotationMetadata(Object.class);
    }
}
